﻿using Hangfire.Annotations;
using Hangfire.Dashboard;

namespace AiQiuQuan.Sport.Core
{
    /// <summary>
    /// hangfire dashboard auth
    /// </summary>
    public class NoAuthHangfireFilter : IDashboardAuthorizationFilter
    {
        /// <summary>
        /// auth
        /// </summary>
        public bool Authorize([NotNull] DashboardContext context)
        {
            return true;
        }
    }
}
